<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
 

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<style>
    .form-group{
        white-space: unset !important;
        height: 60px;
    }
</style>
<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-commonsearch">
        <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
            <h4>自定义搜索表单</h4>
            <hr>
            <div class="row">
                


                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">时间</label>
                        <input type="hidden" class="operate" data-name="time_range" value="="/>
                        <div>
                            <input type="text" id="i-year" class="form-control datetimerange" name="time_range" placeholder="指定日期"  data-locale='{"format":"YYYY-MM-DD"}'  value="{$time_range??''}" />
                        </div>
                    </div>
                </div>
                {if $auth->acct_id==0}
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">选择平台</label>
                        <input type="hidden" class="operate" data-name="acct_id" value="="/>
                        <div>
                            <input type="text" id="i-acct_id" class="form-control selectpage" data-source="auth/admin/selectgroup" data-primary-key="acct_id" data-field="nickname"  name="acct_id" placeholder="选择平台"    value="{$acct_id??''}" />
                        </div>
                    </div>
                </div>
                {/if}
                
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label"></label>
                        <div class="row">
                            <div class="col-xs-6">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                            <div class="col-xs-6">
                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>